<!DOCTYPE html >
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
</head>
<body>

<!--<img th:src="@{/images/img.jpg}" src="/images/img.jpg"/>-->

 <h2>appinfolist：<!--<span  th:text="${appList}">size</span>--></h2>
 <form th:action="@{/devuser/tomain}" method="post">
     <p>
        软件名称 <input type="text"
                        name="softwarename"
                        th:value="${param.softwarename}">

         所属平台:
         <select name="flatformName">
            <option value="">--全部-- </option>
             <option value="1" th:selected="${fid==1} ">手机</option>
             <option value="2" th:selected="${fid==2} ">平板</option>
             <option value="3" th:selected="${fid==3}">通用</option>
         </select>
         状态
         <select name="status">
             <option value="">--全部--</option>
             <option value="1" th:selected="${_status==1}">待审核</option>
             <option value="2" th:selected="${_status==2}">审核通过</option>
             <option value="3" th:selected="${_status==3}">审核未通过</option>
             <option value="4" th:selected="${_status==4}">上架</option>
             <option value="5" th:selected="${_status==5}">下架</option>
         </select>
     </p>
     <p><input type="submit" value="查询"></p>
     <table border="1" cellpadding="0" cellspacing="0">
         <tr>
             <th>id</th>
             <th>softName</th>
             <th>所属平台</th>
             <th>所属分类</th>
         </tr>
         <tr th:each="appInfo: ${appList}">
             <td th:text="${appInfo.id}"></td>
             <td th:text="${appInfo.softwarename}"></td>
             <td th:text="${appInfo.flatformName}"></td>
             <td th:text="|${appInfo.categoryName1}>>${appInfo.categoryName2}|"></td>
         </tr>
     </table>
 </form>


</body>
</html>